<!--
 * @Author: CtrlC
 * @Date: 2022-07-26 17:00:38
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-07-10 15:28:12
 * @Description: file content
 * @FilePath: /vue3-uniapp-engineering/src/App.vue
-->
<script>

export default {
  globalData: {

  },
  onLaunch() {
    console.log('App Launch')
    console.log(uni.$u.config.v)
    
    // 初始化云开发
    if (wx.cloud) {
      wx.cloud.init({
        env:'cloud1-3gum1cak7b10d885',
        traceUser: true
      })
      console.log('云开发初始化成功')
    }
    
    // 初始化全局数据
    
  },
  onShow() {
    console.log('App Show')
  },
  onHide() {
    console.log('App Hide')
  }
}
</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import 'uview-plus/index.scss';
// @import 'uview-plus/index.scss';
/* 引入tailwindcss */
// @import 'tailwindcss/base';
// @import 'tailwindcss/utilities';

/* 引入图标字体 */
@import './static/styles/iconfont.css';
</style>
